#include "Solution.h"
#include <iostream>

using namespace std;

int main()
{
	int n;
	cin>>n;
	Solution s;
	bool rc = s.isPalindrome(n);

	cout<<(rc?"true":"false");
	
	while(cin.get() != '\n');
	cin.get();
}